package com.itheima.zhaohang.androidjs;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.bumptech.glide.Glide;

import cn.bluemobi.dylan.photoview.library.PhotoView;

public class ShownJs extends AppCompatActivity {

    private PhotoView mPhotoView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_shown_js);
        mPhotoView = (PhotoView) findViewById(R.id.photoview);
        String uri = getIntent().getStringExtra("uri");
        Glide.with(getApplicationContext()).load(uri).into(mPhotoView);

    }
}
